package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地理围栏对象 t_geofence
 *
 * @author ruoyi
 * @date 2025-03-25
 */
public class TGeofence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 口岸名称 */
    @Excel(name = "口岸名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 口岸区域 */
    @Excel(name = "口岸区域")
    private String area;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 类型 1 圆形  2 矩形 3 多边形 */
    @Excel(name = "类型 1 圆形  2 矩形 3 多边形")
    private String type;

    /** 城市代码 */
    @Excel(name = "城市代码")
    private String cityCode;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 国外城市id */
    @Excel(name = "国外城市id")
    private String districtId;

    /** 国外城市名称 */
    @Excel(name = "国外城市名称")
    private String districtName;

    /** 转关口岸名称 */
    @Excel(name = "转关口岸名称")
    private String transitPortChn;

    /** 转关口岸外文名称 */
    @Excel(name = "转关口岸外文名称")
    private String transitPortEng;

    /** 转关口岸区域 */
    @Excel(name = "转关口岸区域")
    private String transitPortArea;

    /** 类型 1 圆形  2 矩形 3 多边形 */
    @Excel(name = "类型 1 圆形  2 矩形 3 多边形")
    private String transitPortType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }

    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }

    public void setDistrictId(String districtId)
    {
        this.districtId = districtId;
    }

    public String getDistrictId()
    {
        return districtId;
    }

    public void setDistrictName(String districtName)
    {
        this.districtName = districtName;
    }

    public String getDistrictName()
    {
        return districtName;
    }

    public void setTransitPortChn(String transitPortChn)
    {
        this.transitPortChn = transitPortChn;
    }

    public String getTransitPortChn()
    {
        return transitPortChn;
    }

    public void setTransitPortEng(String transitPortEng)
    {
        this.transitPortEng = transitPortEng;
    }

    public String getTransitPortEng()
    {
        return transitPortEng;
    }

    public void setTransitPortArea(String transitPortArea)
    {
        this.transitPortArea = transitPortArea;
    }

    public String getTransitPortArea()
    {
        return transitPortArea;
    }

    public void setTransitPortType(String transitPortType)
    {
        this.transitPortType = transitPortType;
    }

    public String getTransitPortType()
    {
        return transitPortType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("description", getDescription())
                .append("area", getArea())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("type", getType())
                .append("cityCode", getCityCode())
                .append("cityName", getCityName())
                .append("districtId", getDistrictId())
                .append("districtName", getDistrictName())
                .append("transitPortChn", getTransitPortChn())
                .append("transitPortEng", getTransitPortEng())
                .append("transitPortArea", getTransitPortArea())
                .append("transitPortType", getTransitPortType())
                .toString();
    }
}
